package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysTopicorderMapper;
import com.ruoyi.system.domain.SysTopicorder;
import com.ruoyi.system.service.ISysTopicorderService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
@Service
public class SysTopicorderServiceImpl implements ISysTopicorderService 
{
    @Autowired
    private SysTopicorderMapper sysTopicorderMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param orderid 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public SysTopicorder selectSysTopicorderByOrderid(String orderid)
    {
        return sysTopicorderMapper.selectSysTopicorderByOrderid(orderid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param sysTopicorder 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<SysTopicorder> selectSysTopicorderList(SysTopicorder sysTopicorder)
    {
        return sysTopicorderMapper.selectSysTopicorderList(sysTopicorder);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param sysTopicorder 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertSysTopicorder(SysTopicorder sysTopicorder)
    {
        return sysTopicorderMapper.insertSysTopicorder(sysTopicorder);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param sysTopicorder 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateSysTopicorder(SysTopicorder sysTopicorder)
    {
        return sysTopicorderMapper.updateSysTopicorder(sysTopicorder);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param orderids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSysTopicorderByOrderids(String orderids)
    {
        return sysTopicorderMapper.deleteSysTopicorderByOrderids(Convert.toStrArray(orderids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param orderid 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSysTopicorderByOrderid(String orderid)
    {
        return sysTopicorderMapper.deleteSysTopicorderByOrderid(orderid);
    }
}
